Documentation for class panel

Inherits from 	window 

Properties declared in panel 
	does_become_key_only_if_needed 
	is_floating 
	works_when_modal 

Class Methods declared in panel 
	new 

Methods declared in panel 
	any 
		does_become_key_only_if_needed 
		is_floating 
		set_does_become_key_only_if_needed(boolean) 
		set_is_floating(boolean) 
		set_works_when_modal(boolean) 
		works_when_modal 
	get 
		does_become_key_only_if_needed 
		is_floating 
		works_when_modal 
	set 
		set_does_become_key_only_if_needed(boolean) 
		set_is_floating(boolean) 
		set_works_when_modal(boolean) 

Class 
#begin_class
panel 
The class panel is a subclass of the class window. 
Panels in run-mode are hidden when CraftMan is not the active application. Panels may float over other windows on the screen.
#end_class

Properties 

#begin_property
does_become_key_only_if_needed 
Stores a boolean value. It should be true if you want the panel to refrain from becoming the key window unless the user clicks on an object that can become the first responder. For example a textfield or a word processor. Otherwise it should be false.
#end_property

#begin_property
is_floating 
Stores a boolean value. It should be true if you want the panel to float over all windows. Otherwise it should be false.
#end_property

#begin_property
works_when_modal 
Stores a boolean value. It should be true if you want the panel to work even if there is a modal dialog box open on the screen. Otherwise it should be false.
#end_property

Methods 

#begin_method
does_become_key_only_if_needed 
Returns the does_become_key_only_if_needed property of the panel.
#end_method

#begin_method
is_floating 
Returns the is_floating property of the panel.
#end_method

#begin_method
set_does_become_key_only_if_needed(boolean) 
Sets the does_become_key_only_if_needed property of the miniwindow to boolean.
Returns self.
#end_method

#begin_method
set_is_floating(boolean) 
Sets the is_floating property of the miniwindow to boolean.
Returns self.
#end_method

#begin_method
set_works_when_modal(boolean) 
Sets the works_when_modal property of the miniwindow to boolean.
Returns self.
#end_method

#begin_method
works_when_modal 
Returns the works_when_modal property of the panel.
#end_method

Class Methods 

#begin_class_method
new 
Returns a new panel object.
Ex:
{panel}:new:open
creates a new panel and puts it on the screen.
#end_class_method